<script setup>
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'
import { User } from '@/datas/user.js'

onLaunch(() => {
	console.log('App Launch')
})

onShow(() => {
	console.log('App Show')
})

onHide(() => {
	console.log('App Hide')
})
</script>

<style>
	/*每个页面公共css */
	page {
		--default-background-color: #f8f8f8;
		height: 100%;
		font-size: 28rpx;
		line-height: 1.8;

		--design-background-color: #F1F5FB;
		/* background-color: var(--default-background-color); */
		background-color: var(--design-background-color);
		overflow-y: auto;
	}

	::-webkit-scrollbar {
		display: none;
	}
	
	/* 主内容区样式 */
	.content {
		/* min-height: 100vh; */
		min-height: var(--window-height);
	}
</style>
